The phrase "which-ever is earlier" is used to indicate the earliest of two or more events.
जो भी पहले हो
English Usage: Complete the project by March 31st, or by the time the budget is approved, whichever is earlier.
Hindi Usage: परियोजना को 31 मार्च तक या बजट स्वीकृत होने तक, जो भी पहले हो, पूरा करें।
jo bhi pahle ho, jo bhi pehle ho, jo bhi pahle hai, jo bhi pehle hai, jo bhi pehle tha, jo bhi pehle rakhna, jo bhi pehle ho gaya